package com.mail.server.service;

import com.mail.dubbo.api.UmsMemberLevelApi;
import com.mail.model.db.UmsMemberLevel;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author gaocq
 * @version 1.0.0
 * @Program hmsc
 * @date 2022/6/24 14:34
 */
@Service
public class UmsMemberLevelService {
    @DubboReference
    private UmsMemberLevelApi umsMemberLevelApi;

    public List<UmsMemberLevel> list(Integer defaultStatus) {
        return umsMemberLevelApi.list(defaultStatus);
    }
}
